I was in a situation where I need to allow users to access shares on “server1” after moving the data to new machine with referent name. My client’s administrator refused to use any scripts or even to do the job manually be passing to all clients and modify the shortcuts on their desktops.Therefore, I was looking to setup two machine names that can be accessed as (SAMBA) servers on the same box. And I was very sure it’s doable cause I’ve done it on the windows cluster.
Few search on the net and got the following registry values to be manually modified, and the machine (MUST) be restarted after that.
HKLMSystemCurrent Control SetServiceslanmanserverparameters
Value1 name: OptionalNames
Value1 type: String (or multi line string if you wanna add more than one additional name)
Value1 data: the additional server name “serveroldname”
After restarting, you may face some name resolution issues, check this link (http://support.microsoft.com/kb/281308 or simply add the following value at the same above key:
Value2 Name: DisableStrictNameChecking
Value2 type: Decimal
Value2 Data: 1